/**
 * 
 */
package mdb.com.vn.persist;

import java.util.List;

import mdb.com.vn.model.LuckyDraw;

/**
 * @author tu.dod
 *
 */
public interface LuckyDrawDAO extends AbstractDAO<LuckyDraw, Integer> {
	public List<LuckyDraw> findByRef(String transref);
	public List<LuckyDraw> findByTypeAndRef(String transref,int type);
	public int countAllLuckyDraw();
	public LuckyDraw findById(long id);
	
}
